package cn.gailvlun.gll.net.emotion;

import com.google.gson.Gson;

import java.util.Date;



public class ReportRes {

    private int id;
    private int reporter;
    private int target_id;
    private String target_type;
    private String reason;
    private String reason_type;
    private boolean handled;
    private String created;
    private Date handle_time;

    public static ReportRes objectFromData(String str) {

        return new Gson().fromJson(str, ReportRes.class);
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getReporter() {
        return reporter;
    }

    public void setReporter(int reporter) {
        this.reporter = reporter;
    }

    public int getTargetId() {
        return target_id;
    }

    public void setTargetId(int target_id) {
        this.target_id = target_id;
    }

    public String getTargetType() {
        return target_type;
    }

    public void setTargetType(String target_type) {
        this.target_type = target_type;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getReasonType() {
        return reason_type;
    }

    public void setReasonType(String reason_type) {
        this.reason_type = reason_type;
    }

    public boolean isHandled() {
        return handled;
    }

    public void setHandled(boolean handled) {
        this.handled = handled;
    }

    public String getCreated() {
        return created;
    }

    public void setCreated(String created) {
        this.created = created;
    }

    public Date getHandleTime() {
        return handle_time;
    }

    public void setHandleTime(Date handle_time) {
        this.handle_time = handle_time;
    }
}
